﻿app.controller('ChurchMemberFamilyInfoController', ['$scope', 'GlobalService', 'fileUpload', 'ApplicationService', 'alertboxservice', '$window', function ($scope, GlobalService, fileUpload, ApplicationService, alertboxservice, $window) {

    BindChurchMemberFamilyInfo();

    function BindChurchMemberFamilyInfo() {
        url = "GetChurchMemberFamily";
        var id = getQueryString('FamilyId');

        ApplicationService.Getdata(url, id).success(function (data) {
            $scope.entity = data;
            console.log($scope.entity);
        });
    }

}]);

